from django.conf.urls import include, url
from django.contrib import admin
from dd_user.views import index

urlpatterns = [
    # Examples:
    # url(r'^$', 'dayday.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

    url(r'^admin/', include(admin.site.urls)),
    url(r'^$', index,name='index'),
    url(r'^user/', include('dd_user.urls',namespace='user')),
    url(r'^goods/', include('dd_goods.urls', namespace='goods')),
    url(r'^tinymce/', include('tinymce.urls')),
    url(r'^search/', include('haystack.urls')),
]
